package com.blank.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author BLANK
 * @date 2020/11/16
 */
public class BookDateFormat {
    public  static  String formatter(Date date){
        SimpleDateFormat simpleDateFormat =new SimpleDateFormat("yyyy-MM-dd");
        return simpleDateFormat.format(date);

    }
}
